/**
  * Author: Mei
  * Date: 2020-12-29 14:22
  * Description: 
  *
  */
//#include <iostream>
#include "range_overload.h"

using namespace std;

int main() {
    cout << "rang(15):";
    //for (int i : range(3, 7, 3)) {
    //    cout << " " << i;
    //}
    auto at = range('a', 'z');
    //auto va = at.end();
    //cout << *(va) << endl;

    for(auto it = at.begin(); it != at.end(); ++it) {
        cout << *it << " ";
    }

    /**
     * 需要begin()、end()、size()
     * iterator需要重载++、!=、*
     *
     *
     */

    return 0;
}